package com.ruoyi.market.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 商品对象 goods
 * 
 * @author ruoyi
 */
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品ID */
    @Excel(name = "商品序号", cellType = ColumnType.NUMERIC, prompt = "商品编号")
    private Long goodsId;

    /** 店铺ID */
    private String shopId;

    /** 帐号状态（0正常 1停用） */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 排序 */
    @Excel(name = "排序")
    private Long goodsSort;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal goodsPrice;

    /** 商品价格-晚上 */
    @Excel(name = "商品价格-晚上")
    private BigDecimal goodsPriceNight;

    /** 商品标题 */
    @Excel(name = "商品标题")
    private String goodsTitle;

    /** 商品关联店员等级 */
    @Excel(name = "店员等级")
    private String goodsEmployeeLevel;

    /** 商品关联店员时间 */
    @Excel(name = "服务时长")
    private String goodsEmployeeTime;

    /** 商品关联店员服务类型 */
    @Excel(name = "服务类型")
    private String goodsEmployeeServiceType;

    /** 下单笔数 */
    @Excel(name = "下单笔数")
    private int orderCount;

    public Goods()
    {

    }

    public Goods(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public String getShopId(){ return shopId; }

    public void setShopId(String shopId){ this.shopId = shopId; }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public BigDecimal getGoodsPrice(){ return goodsPrice;}

    public void setGoodsPrice(BigDecimal goodsPrice){ this.goodsPrice = goodsPrice; }

    public BigDecimal getGoodsPriceNight(){ return goodsPriceNight;}

    public void setGoodsPriceNight(BigDecimal goodsPriceNight){ this.goodsPriceNight = goodsPriceNight; }

    public String getGoodsTitle(){ return goodsTitle;}

    public void setGoodsTitle(String goodsTitle){ this.goodsTitle = goodsTitle; }

    public Long getGoodsSort(){ return goodsSort;}

    public void setGoodsSort(Long goodsSort){ this.goodsSort = goodsSort; }

    public String getGoodsEmployeeLevel(){ return goodsEmployeeLevel;}

    public void setGoodsEmployeeLevel(String goodsEmployeeLevel){ this.goodsEmployeeLevel = goodsEmployeeLevel; }

    public String getGoodsEmployeeTime(){ return goodsEmployeeTime;}

    public void setGoodsEmployeeTime(String goodsEmployeeTime){ this.goodsEmployeeTime = goodsEmployeeTime; }

    public String getGoodsEmployeeServiceType(){ return goodsEmployeeServiceType;}

    public void setGoodsEmployeeServiceType(String goodsEmployeeServiceType){ this.goodsEmployeeServiceType = goodsEmployeeServiceType; }

    public int getOrderCount(){ return orderCount;}

    public void setOrderCount(int orderCount){ this.orderCount = orderCount; }

    public Long getGoodsId()
    {
        return goodsId;
    }

    public void setGoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("shopId", getShopId())
            .append("goodsTitle", getGoodsTitle())
            .append("goodsPrice", getGoodsPrice())
            .append("goodsPriceNight", getGoodsPriceNight())
            .append("goodsEmployeeLevel", getGoodsEmployeeLevel())
            .append("goodsEmployeeTime", getGoodsEmployeeTime())
            .append("goodsEmployeeServiceType", getGoodsEmployeeServiceType())
            .append("goodsSort", getGoodsSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("orderCount", getOrderCount())
            .toString();
    }
}
